Imported Debian patch 0.0.22-1.1
authorgregor herrmann <gregoa@debian.org>
Sat, 15 Oct 2011 13:39:05 +0000 (15:39 +0200)
committerMatteo F. Vescovi <m.vescovi@revese.it>
Sat, 31 Dec 2011 11:13:37 +0000 (12:13 +0100)
babl/babl-model.c
debian/TODO [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/libbabl-0.0-0-dev.install [new file with mode: 0644]
debian/libbabl-0.0-0.install [new file with mode: 0644]
debian/libbabl-0.0-doc.docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 5fd49085aea22caed83faeb6d523af6cfc3aa574..16a99b2d2db11b53c9c44a544feb8681ed9376ad 100644 (file)
@@ -46,7 +46,7 @@ create_name (const char     *name,
     return name;
   while (components--)
     {
-      sprintf (p, (*component)->instance.name);
+      sprintf (p, "%s", (*component)->instance.name);
       p += strlen ((*component)->instance.name);
       component++;
     }
diff --git a/debian/TODO b/debian/TODO
new file mode 100644 (file)
index 0000000..0196c44
--- /dev/null
@@ -0,0 +1 @@
+Add -dbg package
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..5547077
--- /dev/null
@@ -0,0 +1,21 @@
+babl (0.0.22-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: babl-model.c:49:7: error: format not a string literal
+    and no format arguments [-Werror=format-security]": add patch from Bart
+    Martens (closes: #643356).
+
+ -- gregor herrmann <gregoa@debian.org>  Sat, 15 Oct 2011 15:39:05 +0200
+
+babl (0.0.22-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ross Burton <ross@debian.org>  Mon, 16 Jun 2008 11:32:54 +0100
+
+babl (0.0.20-1) unstable; urgency=low
+
+  * First upload to Debian (Closes: #451250)
+  * Initially based on packaging by Étienne Bersac <bersace03@laposte.net>.
+
+ -- Ross Burton <ross@debian.org>  Thu, 28 Feb 2008 08:41:14 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..dc402e7
--- /dev/null
@@ -0,0 +1,39 @@
+Source: babl
+Section: libs
+Priority: optional
+Maintainer: Ross Burton <ross@debian.org>
+Build-Depends: debhelper (>= 5), cdbs, autotools-dev
+Standards-Version: 3.7.3
+
+Package: libbabl-0.0-0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Dynamic, any to any, pixel format conversion library
+ Babl is a dynamic, any to any, pixel format conversion library. It
+ provides conversions between the myriad of buffer types images can be
+ stored in. Babl doesn't only help with existing pixel formats, but
+ also facilitates creation of new and uncommon ones.
+
+Package: libbabl-0.0-0-dev
+Architecture: any
+Section: libdevel
+Depends: ${misc:Depends}, libbabl-0.0-0 (= ${binary:Version})
+Description: Dynamic, any to any, pixel format conversion library (development files)
+ Babl is a dynamic, any to any, pixel format conversion library. It
+ provides conversions between the myriad of buffer types images can be
+ stored in. Babl doesn't only help with existing pixel formats, but
+ also facilitates creation of new and uncommon ones.
+ .
+ This package contains the development files.
+
+Package: libbabl-0.0-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Dynamic, any to any, pixel format conversion library (documentation)
+ Babl is a dynamic, any to any, pixel format conversion library. It
+ provides conversions between the myriad of buffer types images can be
+ stored in. Babl doesn't only help with existing pixel formats, but
+ also facilitates creation of new and uncommon ones.
+ .
+ This package contains the API documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..05ea87d
--- /dev/null
@@ -0,0 +1,30 @@
+This package was originally debianized by Étienne Bersac <bersace03@laposte.net>
+on Tue, 20 Mar 2007 11:33:29 +0100.
+
+It was downloaded from http://www.gegl.org/babl
+
+Upstream Author: Øyvind Kolås <pippin@gimp.org>
+
+Copyright:  Copyright (C) 2005, Øyvind Kolås.
+
+License:
+
+  This library is free software; you can redistribute it and/or modify it under
+  the terms of the GNU Lesser General Public License as published by the Free
+  Software Foundation; either version 3 of the License, or (at your option) any
+  later version.
+
+  This library is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+  details.
+
+  You should have received a copy of the GNU Lesser General Public License along
+  with this library; if not, write to the Free Software Foundation, Inc., 51
+  Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public
+License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2007, Étienne Bersac <bersace03@laposte.net> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/libbabl-0.0-0-dev.install b/debian/libbabl-0.0-0-dev.install
new file mode 100644 (file)
index 0000000..625887e
--- /dev/null
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/
+debian/tmp/usr/lib/libbabl*.so
+debian/tmp/usr/lib/pkgconfig/
diff --git a/debian/libbabl-0.0-0.install b/debian/libbabl-0.0-0.install
new file mode 100644 (file)
index 0000000..2aa2767
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/babl-*/
+debian/tmp/usr/lib/libbabl*.so.*
diff --git a/debian/libbabl-0.0-doc.docs b/debian/libbabl-0.0-doc.docs
new file mode 100644 (file)
index 0000000..4144316
--- /dev/null
@@ -0,0 +1,4 @@
+docs/index.html
+docs/Babl*.html
+docs/babl.css
+docs/graphics/
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..12cb6cd
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+export LDFLAGS += -Wl,--as-needed
+
+binary-install/libbabl-0.0-doc::
+       rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/graphics/Makefile*
+
+common-binary-predeb-arch:: list-missing